package com.xuchy.mapper;

import com.xuchy.entity.History;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author xuchy
 * @Date 2019/11/5 23:22
 */
@Mapper
public interface HistoryMapper {

    /**
     * 新增
     * @param history
     * @return
     */
    int insert(History history);

    /**
     * 查询列表
     * @param params
     * @return
     */
    List<History> queryList(Map<String, Object> params);

}
